.layui-right {
  float: right;
}
.layui-left {
  float: left;
}
/* 头部 */
.layui-layout-admin.fly-body .layui-header {
  background-color: #393D49;
  height: 60px !important;
  border-bottom: 5px solid #4E5465;
  .layui-nav.nav .layui-nav-item a {
    color: #323232;
    font-size: 18px;
    margin-top: 5px;
  }
  .user {
    margin-top: 5px;
    height: 50px;
    padding: 5px;
    position: relative;
    img {
      height: 100%;
      margin-top: -5px;
    }
    .user-nav {
      position: absolute;
      right: 10px;
      top: 50px;
      width: 100px;
      border: 1px solid #4E5465;
      border-radius: 0;
      display: none;
      background: #ffffff;
      .user-nav-item a {
        font-size: 12px;
        display: block;
        padding: 10px;
      }
      .user-nav-item:hover {
        background: #4E5465;
        a {
          color: #EEEEEE;
        }
      }
    }
  }
  .user:hover .user-nav {
    display: block;
  }
}
/* 侧栏 */
.layui-side .layui-nav {
  border-radius: 0;
  min-height: 100%;
  .layui-nav-item a>label {
    cursor: pointer;
  }
}
/* 主体 */
.layui-body {
  top: 60px !important;
  bottom: 0 !important;
}
.fly-tab.layui-tab {
  margin: 0;
}
/* 对layui的优化 */
.layui-form-switch,
.layui-form-onswitch {
  box-sizing: content-box;
}
.layui-top-nav .layui-nav .layui-nav-item {
  line-height: 55px !important;
}
/*tab*/
#tabContainers iframe {
  width: 100%;
  border: none;
}
.layui-tab-card>.layui-tab-title .layui-this {
  background: #009688 !important;
  color: #fff !important;
  .layui-tab-close {
    color: #fff;
  }
  .layui-tab-close:hover {
    background-color: #FF5722;
    border-radius: 50%;
  }
}
/*登录*/
.login-warp {
  width: 100%;
  background: url("../images/common/no-pic.png") no-repeat;
  background-attachment: fixed;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  .login-box {
    width: 300px;
    height: 200px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -150px;
    margin-top: -100px;
  }
  .btn-submit {
    width: 190px;
  }
}